package sk.stuba.fiit.ltasys.web.mvc.model.service;

import java.math.BigInteger;
import java.security.cert.X509Certificate;
import java.util.HashSet;

import sk.stuba.fiit.ltasys.web.mvc.model.entity.CertificateEntity;

public interface CertificateService {

	public void saveCertificate(CertificateEntity certificate);
	public void deleteCertificate(CertificateEntity certificate);
	public CertificateEntity handleCertificate(X509Certificate certificate) throws Exception;
	public HashSet<CertificateEntity> handleCertificate(HashSet<BigInteger> certificates) throws Exception;
	public CertificateEntity handleCertificate(String string) throws Exception;
	public CertificateEntity handleCertificate(BigInteger sn) throws Exception;
	

}
